package com.ftg.learn.vo;

import com.ftg.learn.entity.ProdEntity;
import lombok.Data;
import lombok.ToString;
import lombok.Value;

import java.math.BigDecimal;

/**
 * 用来向redis里面添加商品时的数据模型对象
 *
 * @author 布衣
 */
@Data
public class ProdRedisVo extends ProdEntity {
    private Long prodId;
    private String prodName;
    private String shopId;
    private BigDecimal oriPrice;
    private BigDecimal price;
    private String brief;
    private String content;
    private String pic;
    private String imgs;
    private Integer status;
    private Integer soldNum;
    private Integer totalStocks;
    private Integer buyNum;
}
